package com.atguigu.edu.pubshier.beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author: techyang
 * @since: 2023-10-22 15:21
 * @description: 数据信息
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataInfo {
    /**
     * 中国省份色彩
     */
    private List<Map<String, BigDecimal>> mapData;
    private String valueName;

    /**
     * 分时统计
     */
    private List<String> categories;
    List<DataInfo.Sery> series;

    /**
     * 好评率
     */
    private List<Map<String, BigDecimal>> rateData;
    private String value;


    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Sery {
        private String name;
        private List<BigDecimal> data;

    }
}